package com.atbun.orderservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description :
 * @Author : mayp
 * @Date: 2020-05-20 15:48
 */
@SpringBootApplication
@ComponentScan("com.atbun")
@MapperScan("com.atbun.orderservice.mapper")
@EnableDiscoveryClient//nacos管理
@EnableFeignClients // Feign服务远程调用（调用端）
public class OrderApplication8007 {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication8007.class,args);
    }
}
